package pos.data;

import java.util.List;

import pos.domain.Relation;

public interface IRelationDAO {
	
	public List<Relation> getAllRelations(); // Not recommended to call without control (possibly too much data)
	public Relation getRelationById(String idRelation);
	
	public List<Relation> getListRelationsByEvent(String idEvent);
	public Relation insertRelation(Relation relation, String idEvent);
	public Boolean existRelation(String subject, String verb, String object, String idEvent);

}
